package sch.guo.crmsys.entity.cop;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2019-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CopOrder extends Model<CopOrder> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "order_id", type = IdType.AUTO)
    private Long orderId;

    private Long orderUserId;

    private Long orderClientId;

    private Integer orderStatus;

    private BigDecimal orderTotalPrice;

    private String orderRemark;

    private LocalDateTime orderStartTime;

    private LocalDateTime orderUpdateTime;


    @Override
    protected Serializable pkVal() {
        return this.orderId;
    }

}
